package com.slorgs.infrastructure.dto;

import com.slorgs.infrastructure.model.User;

import java.util.Date;

public class UserDTO extends User {
    private String code;
    private String browsCode;

    public UserDTO(String idUser, String realName, String loginName, String password, String telephone, String mail, String role, String status, String createBy, Date createTime, String updateBy, Date updateTime, String code, String browsCode) {
        super(idUser, realName, loginName, password, telephone, mail, role, status, createBy, createTime, updateBy, updateTime);
        this.code = code;
        this.browsCode = browsCode;
    }

    public UserDTO(String code, String browsCode) {
        this.code = code;
        this.browsCode = browsCode;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getBrowsCode() {
        return browsCode;
    }

    public void setBrowsCode(String browsCode) {
        this.browsCode = browsCode;
    }
}
